DomainObjects Class Library

Query<ClassToFind> Members

Query<ClassToFind> overview

Public Instance Constructors

Query<ClassToFind> Overloaded. Initializes a new instance of the Query<ClassToFind> class.

Public Instance Properties

CommandTimeout (inherited from Query) Gets or sets the wait time before terminating the attempt to execute a SQL statement and generating an error.
Distinct (inherited from Query) Gets or sets a value indicating whether only unique rows can appear in the result set. Null values are considered equal for the purposes of the DISTINCT keyword.
ExplicitSelectFields (inherited from Query) Gets the fields whose values will be returned by the DataSet.
Having (inherited from Query) The criteria that will be converted to the HAVING clause of the SQL select statement.
IsTopSpecified (inherited from Query) Gets a value indicating whether this instance is querying only for a top number of rows.
SelectDistinct (inherited from Query) Determine if duplicate rows will be removed when this object is queried from the database.
TargetClass Gets a new instance the target root class.
TargetTableMappedObject Gets the target table mapped object.
Top (inherited from Query) Gets or sets the maximum number of rows that will be returned from the query result set.
UnionedQueries (inherited from Query) Gets the queries that have been unioned with this query.
Where (inherited from Query) Gets or sets the criteria that will be converted to the WHERE clause of the SQL select statement. The getter will always return a non-null value.

Public Instance Methods

Accept (inherited from Query) Accepts the specified visitor.
AddPrefetch (inherited from Query) Specifies how deep in the object graph this query will retrieve objects related to the target class. Multiple prefetches may be added to a single query. By retrieving all objects specified by relatedClassToPrefetch via a single SELECT statement to the database, prefetching avoids lazy loads of related objects and thus improves performance.
AddSelectField (inherited from Query) Adds a field whose value will be returned by a DataSet. Only add select fields if you are retrieving values in a DataSet via a call to FindDataSet.
AddSelectFields (inherited from Query) Adds to the set of fields whose values will be returned by a DataSet. Only add select fields if you are retrieving values in a DataSet via a call to FindDataSet.
AddUnion Unions the given query with this query using the 'UNION' SQL clause.
AddUnionAll Unions the given query with this query using the 'UNION ALL' SQL clause.
BuildObjectGraphQuery (inherited from Query) 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Exists Determines if any rows exist that match this query's search criteria.
FindDataRowsOverloaded. Retrieve an enumerable collection of DataRows filled with values returned by this query. Because the result set implements IEnumerable`1, Language-Integrated Query (LINQ) queries can be executed against it.
FindDataSetOverloaded. Retrieve a DataSet filled with values returned by this query.
FindObject Retrieve the persistable object that matches this query's search criteria.
FindObjectSet Retrieve the list of persistable objects of the given type that match the assigned criteria.
GetClassesToRetrieve (inherited from Query) Builds the complete set of Classes being retrieved by this query.
GetDataSetCount Returns the total number of rows that would be retrieved if FindDataSet were executed against this query.
GetFullTableName (inherited from Query) Get the fully qualified name of the table to which this object maps.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetImmediateChildExpressions (inherited from Query) Gets the child object model expressions that are directly contained by this expression.
GetInsertableFields (inherited from Query) Get the set of insertable Fields to which this object, and any of its sub-types, maps. This is the set of ColumnFields that are populated by the middle tier when a row is inserted into the database.
GetNaturalIdentifier (inherited from Query) Get a string that identifies this object to a person familiar with the object model. Used when an instance of this field is part of a logging or assertion statement.
GetObjectSetCount Returns the total number of objects that would be retrieved if FindObjectSet were executed against this query.
GetRootTableMappedObject (inherited from Query) Returns the root table mapped object in this query path; i.e., the starting point of this join path.
GetSelectableFields (inherited from Query) Get the set of selectable Fields to which this object, and any of its sub-types, maps.
GetType (inherited from Object)Gets the Type of the current instance.
GetUpdatableFields (inherited from Query) Get the set of updatable ColumnFields to which this object, and any of its sub-types, maps. This list would exclude, for example, any primary key columns.
HasAnyComputedPrimaryKeyColumns (inherited from Query) Determines whether this table mapped object has any computed primary key columns.
IsCount (inherited from Query) Determines whether this instance represents a SQL COUNT statement.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

Query<ClassToFind> Class | DomainObjects.Facade.Command Namespace